<?php
include(dirname(__FILE__)."/../ZadminGallery.php");
class ZmbLuckyController extends FrontController
{	
	public function __construct() {
		parent::__construct();
	}
	public function setMedia()
	{
		parent::setMedia();
		Tools::addCSS(_MODULE_DIR_.'zgallery/css/luckyMember.css');
	}
	public function process()
	{
		global $cookie;
		$members = Zphoto::getMembersLucky ();
		self::$smarty->assign(array (
			'members' => $members
		));
	}
	
	public function displayContent() 
	{
		self::$smarty->display(_PS_MODULE_DIR_.'zgallery/views/zgalleryMemberLucky.tpl');
	}
}